package com.wj.dao;

import com.wj.pojo.CustomWorks;
import com.wj.pojo.SubmitWorks;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wj
 * @since 2022-04-15
 */
public interface SubmitWorksMapper extends BaseMapper<SubmitWorks> {

    /**
     * 获取所有提交作品
     * @return
     */
    List<SubmitWorks> getAllSubmitWorks();

    int addSubmitWorks(Integer cid);

    List<CustomWorks> searchSubmitWorks(String searchText);
}
